package com.itheima.service;

import com.itheima.pojo.Article;
import com.itheima.pojo.PageBean;

public interface ArticleService {
    void addArticle(Article article);

    PageBean<Article> pageQueryArticle(Integer pageNum,Integer pageSize,Integer categoryId,String state);

    Article articleDetailById(Integer id);

    void updateArticle(Article article);

    void deleteArticleById(Integer id);
}
